#
# /etc/tcpproxy.conf - sample configuration
#
#	This sample configuration assumes that you have
#
#	  - an access server with two network interfaces, with
#	  - the network 192.168.1.1/24 on the inner side, and
#	  - the IP number 192.44.100.7 on the outer side
#
 

#
# Define SMTP proxys ...
#
port 25

  # ... for outgoing ...
  #
  interface 192.168.1.1
    server mailrelay.provider.com

  # ... and incoming email.
  #
  interface 192.44.100.7
    server mail.internal.com

  # In the case you want to protect your local mail server with
  # an application gateway against buffer overflows or relay usage
  # use
  #
  #  interface 192.44.100.7
  #    exec /usr/local/sbin/smtp.proxy -r @internal.com mail.internal.com
  #


#
# We run an internal POP3 server ...
#
port 110

  #
  # ... which is accessable from the outside, but only through
  # an application gateway.
  #
  interface 192.44.100.7
    exec /usr/local/sbin/pop3.proxy mail.internal.com



#
# There are also NNTP-Servers on the outside
#
port 119

   interface 192.168.1.1
     server nntp.provider.com
    
   interface 192.168.2.1
     server nntp.other-provider.com


#
# We also have an external NETBIOS server
#
port 139

  interface 192.168.1.1
    server fileserver.my-company.com
    timeout 0

